package com.punai.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.punai.common.core.domain.entity.SysDept;
import com.punai.system.domain.SysDeptLinkDept;

import java.util.List;

public interface SysDeptLinkDeptService extends IService<SysDeptLinkDept> {


    List<SysDept> getDeptLinkList();

    List<SysDept> getDeptSelectTree(Long deptId);

    List<Long> getDeptLinkTree(Long deptId);

    void setLinkIds(Long deptId, List<Long> linkDeptIds);

    void deleteByDeptId(Long deptId);

}
